﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TinyMoocSite.Models
{
    public class Resource
    {
        [Key]
        public int Id { get; set; }

        public CourseInfo Course { get; set; }

        public string Name { get; set; }

        public UserInfo Owner { get; set; }

        public DateTime UploadDate { get; set; }

        public int DownloadCount { get; set; }

        public Classification Classification { get; set; }

        public string LocalFilePath { get; set; }

        public string FileType { get; set; }
    }
}